package com.bus.demo.service.imp;


import com.bus.demo.mapper.TestMapper;
import com.bus.demo.pojo.Test;
import com.bus.demo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImp implements TestService {

    @Autowired
    private TestMapper testMapper;


    @Override
    public List<Test> getAll() {
        return testMapper.testAll();
    }
}
